<html>
<head>
<title>Popshouse :: Admin login</title>
<link rel="stylesheet" href="{{ asset('css/reset.css') }}" type="text/css" media="screen, projection">
    
<style type="text/css">
body{
	background: url('{{ asset('images/layout/admin/login/bg.jpg') }}') no-repeat top center;
	color:#fff;
	font-family:calibri,verdana;
}
h1{
	font-size:18px;
	font-weight:normal;
}
h2{
	font-size:14px;
}
.content{
	margin: 145px auto 0 auto;
    width: 502px;
}
.content h1{margin-left:50px;}
.login_box{
	background: url('{{ asset('images/layout/admin/login/box.png') }}') no-repeat;
    width:502px;
    height:272px;
    color:#000;
    padding:50px;
    font-size:12px;
}
input{background-color:#ccc;padding:2px 5px;border:none;-webkit-border-radius:10px;-moz-border-radius:10px;outline:0;margin-bottom:10px;}
input:focus{outline:0;}
.error{color: #ff003C;font-weight:bold;}
 input:focus,textarea:focus{
       background-color:#f8f8c2;
        color:black;
    }
</style>
</head>
<body>
<div class="content">
	<h1>Beheerpaneel</h1>
	<div class="login_box">
		<h2>Login</h2>
		{% if error %}
		    <div class="error">{{ error.message }}</div>
		{% endif %}
		
		<form action="{{ path('login_check') }}" method="post" id="login">
			<dl>
				<dt><label for="username">Gebruikersnaam:</label></dt>
				<dd><input type="text" id="username" name="_username" value="{{ last_username }}" /></dd>
				<dt><label for="password">Paswoord:</label></dt>
				<dd><input type="password" id="password" name="_password" />
			</dl>
			<input type="submit" value="Login" />
		</form>
	</div>
</div>
</body>
</html>